<?php

namespace Erp\ErpBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Erp\ErpBundle\Entity\Qcm_Question
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Erp\ErpBundle\Entity\Qcm_QuestionRepository")
 */
class Qcm_Question
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var integer $id_qcm
     *
     * @ORM\Column(name="id_qcm", type="integer")
     */
    private $id_qcm;
	
    /**
     * @var string $question
     *
     * @ORM\Column(name="question", type="string", length=255)
     */
    private $question;

	public function __construct($question = '', $id_qcm = null)
	{
		$this->id_qcm = $id_qcm;
		$this->setQuestion($question);
	}
	
    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Get id_qcm_question
     *
     * @return integer 
     */
    public function getId_qcm()
    {
        return $this->id_qcm;
    }
	
    /**
     * Set question
     *
     * @param string $question
     */
    public function setQuestion($question)
    {
        $this->question = $question;
    }

    /**
     * Get question
     *
     * @return string 
     */
    public function getQuestion()
    {
        return $this->question;
    }
	
}